package desktop.playerguide.playerlistgroup;

import pulpcore.image.CoreFont;
import pulpcore.sprite.Group;
import pulpcore.sprite.Label;
import static pulpcore.image.Colors.*;

public class PlayerInformation extends Group {
	
	@SuppressWarnings("unused")
	private String name;
	Label myLabel;
	static double height = 20.0;
	
	public PlayerInformation(String name,double x,double y,double w) {
		super(x, y, w, height);
		this.name = name;
		CoreFont bgFont = CoreFont.load("serif.font.png").tint(gray(128));
		myLabel = new Label(bgFont,name,0,0);
		add(myLabel);
	}	
	
	public static void setHeight(double h){height = h;}
	
	public void update(int elapsedTime){
		super.update(elapsedTime);
		if(myLabel.isMouseDown()){
			
		}
	}
}
